FTP Access over .bat file

Hi,
I am trying to access to a ftp server using a Batch file i wrote. The Batch file works, if i start it manually. However, if i call it using the System exec.vi  (giving it to the command line input, as working directory the directory where the batch file is in) it doesnt work, I just see the cmd.exe window doin nothing (i can also not write anything in, its just black) i waited for some minutes but nothing happens, do you know what this could be ?
Or better, how i could solve it ?
thank you,
Blanky

Hi Blanky,
try this. This works for me. It load the file, but because i have an empty file i get an error message, but it should work for you.
The path shall be a path to a directory (without the filename).
Hope it helps.
Mike
Message Edited by MikeS81 on 07-03-2008 03:59 PM
Attachments:
Unbenannt1.PNG ‏7 KB

Similar Messages

  • FTP access over the Internet

    Hi Forum, i am trying to create a FTP access on my old G5 for clients to access and upload and download files to. I have setup FTP Sharing and user access and assigned permissions to their respective folders to access. When i use an FTP client or select connect to server and type my ip address in a popup window appears and i enter the correct username and password i get the following response,
    " *the username or password is not valid* " I have also setup the firewall correctly and assigned portforwarding on my router to accept connections from the ip address. Any help or a step by step guide to sort the issue out would be greatly appreciated.

    Hi thanx for your help, i tried my home account and it worked. I was hoping that i could setup a shared user so clients would not be able to know my details and could have there own unique username and password to upload and download files to there respective folder.

  • No FTP access over WAN with Airport Extreme 802.11n v7.3.2

    hi there,
    I've read through a few different posts on this topic (both here and in other forums) but I can't seem to find the answers I need.
    I have an AEBS n with version 7.3.2 of Airport Utility. attached to the AEBS is a hard drive. I want to enable file sharing (mostly FTP, but AFP would be fine too) to access the drive through the WAN port.
    here's what I've done:
    - connected a USB drive. This is available through my LAN and is accessible using my OSX account login & password)
    - enabled filesharing and "share disks over ethernet WAN port"
    - enabled NAT and default host on the AEBS
    - configured port mappings for FTP and ARD (I couldn't enable any other file sharing because of a port conflict. Is this because the hard drive connected to the AEBS is already set to use these?)
    I created an account with DynDNS to resolve my ip to a domain name.
    when I ping either my domain or the IP, I get the same results. it sees my isp but the destination host is unreachable.
    port scanning my domain from 20 through 548 shows that 139, 445, and 548 are open. but no 20.
    what am I doing wrong here?
    thanks in advance

    bump

  • Ftp and http access over XDB repository is not allowed...

    When I try to execute the following command on a reasonably fresh Oracle 11 installation:
    insert into "XMLTEST" ( "name", "xmlfof" ) values ( 'small', DBMS_XDB.GETCONTENTXMLTYPE('/public/small.xml') );
    -- The schema is correctly registered, the file "small.xml" is in the /public repository folder, the user has every conceivable role and priviledge
    -- http access works fine from a remote location, tried to execute the command on the server and from remote system...
    I get the following error message:
    ORA-31020: Der Vorgang ist nicht zulässig, Ursache: For security reasons, ftp and http access over XDB repository is not allowed on server side ORA-06512: in "XDB.DBMS_XDB", Zeile 1915
    Searching for an answer on the forum didn't produce any concreate explanation... Does anyone have any idea how to solve this problem?

    As it turns out, the XML file contained a reference to a DTD at an external web-site, which caused the problem - it was identical to that described here:
    Re: ORA-31020 when using XML with external DTD or entities
    After removing the reference, everything works perfectly...

  • Can FTP-access to field point log file interrupt the running program?

    Can FTP-access to field point log file interrupt the running program?
    We have a problem where our factory process control program on a Field Pointer suddenly stops the process. We are running the development system on a PC, wich deploys the program on the Field point, with user interface on the PC. Quite often the process stops for no apparent reason. I'm not sure right now if the control program on the Field Point is still running or if it stops. We use FTP from a distant PC (over VPN) directly to the Field Point to check if the process is running, by looking for date and size of log files produced during running process. I've never opened och copied any log file during process run, because this I'm sure this would cause problems for new log entries to be written. But can the mere looking at the log folder via XP-pros ftp-functionality cause the Field Point to have problems writing data to a log file?
    I'm not sure how windows XP pro handles "my network places" when it comes to FTP, it look that it keeps some kind of local copy of the folders, or at least the files opened.
    Next version of the program will have only basic functionality on the Field Point, leaving logging etc. to another program on the PC, but right now we are stuck with this system.
    Ola A

    It turned out that the problem lies in the harware of the production machine, it was not a labiew-program problem at all!
    Ola

  • Opening FTP connection using a bat file by Runtime class

    Hi
    I'm trying to run the following file from Runtime.getRuntime().exec(XXX) command and getting an error saying that login failed.
    I have set the user id and password in the ftpcommand.bat file as below
    User nkamar
    pass narendra
    and when I run this bat file from command prompt it doesn't work why???.It says Login failed.
    C:\>ftp -s:ftpcommand.bat 134.133.210.24
    Connected to 134.133.210.24.
    220 sdqa33 FTP server (SunOS 5.6) ready.
    User (134.133.210.24:(none)):
    331 Password required for User nkamar.
    530 Login incorrect.
    Login failed.
    ftp> opsnet1
    Invalid command.
    ftp> Invalid command.
    can you please help me in resolving this.
    A sample example file for setting the username,pwd and opening the ftp connection would be very helpful.
    Thanks in advance.
    Regards,
    Narendra.

    Rewrite your script as follow:
    open 134.133.210.24
    nkamar narendra
    Save it as ftpcommand.scr then call it.
    C:\>ftp -s:ftpcommand.scr
    If this still does not work try rewritting the script as follow:
    open 134.133.210.24
    user nkamar
    password narendra
    Save it and try again.
    Hope this works.
    ER

  • I'm modifying someone else's website for the first time (noob = yes).  I only have ftp access to the site server.  Before uploading changes, is there a easy/quick/recommended/etc way to make a copy of the files I'm about to replace?

    Great, first post, sorry for the title.  But to repeat it:
    I'm modifying someone else's website for the first time (noob = yes).  I only have ftp access to the site server.  Before uploading changes, is there a easy/quick/recommended/etc way to make a copy of the files I'm about to replace?

    You can use the Dreamweaver FTP (or a different FTP client) to completely copy the original website to your development computer, then, before making changes, you can copy the whole thing to a directory called something like "website original"
    If you want to run both the old and new sites on the remote server, this is often possible. Add a folder/directory to the server and call it something like "new" and upload the new files there until you are ready to replace the old site
    All of this you can do with FTP

  • Cannot access itunes library file over network

    Hi,
    So I want to set up my old Mac Mini as a home server for our Apple Tv2 and my Macbook pro, but I am having difficulty setting up iTunes. All of our music is stored on an external hard drive, attached to the Mini and i have set up an iTunes library on the Mini too. So far so good, and I can access this library on the MacBook as a shared library, and the Apple TV through home sharing.
    But, I want to go further and add to and edit the shared library (i.e. the one on the Mini) using iTunes on my MacBook. Am I able to also access the library file stored on the Mini from iTunes on the MacBook pro, so I am using the same library file on two instances of iTunes on two different computers?
    Currently when I try (by opening iTunes on the MacBook while holding down option, and 'choosing' the library on the Mini, i get the following error message:
    The iTunes Library.itl file is locked, on a locked disk, or you do not have write permission for this file.
    Perhaps this is a bridge too far, but I would appreciate any help.
    Thanks!
    Matthew

    Apart from the user permissions issue which could probably require you adjusting user permissions on the files on the mini, you cannot have the library file open in two running iTunes concurrently.

  • Broken Ftp Connection and big files problem

    I have a problem with big-files downloading.
    Does anybody know how to resume downloading using FTP-connection?
    Or how can I get bytes from FTP connected file using something like random access to avoid the restart of downloading the file?
    "InputStream" does not support "seek"-like methods.

    From RFC 959
    RESTART (REST)
    The argument field represents the server marker at which
    file transfer is to be restarted. This command does not
    cause file transfer but skips over the file to the specified
    data checkpoint. This command shall be immediately followed
    by the appropriate FTP service command which shall cause
    file transfer to resume.
    You should also be aware of RFC 959 Section 3.4.2 on BLOCK MODE transfers which is what allows FTP to REST a connection and "skip" n-bytes of a file.

  • Lost website and ftp access in Leopard

    After one of the recent security updates, I lost access to my website and I no longer have ftp access to my computer. I have a mac mini in my office that I host a company website on (with a static IP address). I also access my office files using the Fetch FTP program. I can no longer access either one. I can ping the computer over the internet and get no packet loss. Nothing hads changed on the router. I can access other computers in the office, only having a problem with the mac mini.

    Your problem doesn't look like a technical one. It's more a problem of practices in your organizations.
    Michals suggestion with the identity-firewall is a very good choice if you still want to keep complete control over the traffic that is allowed through your firewall. But your post sounds a little bit that you would like to delegate the work.
    For that, an FTP-proxy in the DMZ could be a solution. This proxy is allowed to access the internet with FTP on your firewall. And you can delegate to administration of that proxy to the desktop-crew which are probably the admins that know best who needs FTP-access and who doesn't.
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • Ftp access docroot best practice

    I have installed WS 7.0, created a dir /docroot with owner:group websrvd:webservd. What is a "good" way to send files to /docroot via
    ftp? I only ftp over my local lan; access is not allowed outside of the local
    lan. Should I set up a new user in group webservd with ftp access?
    OR how do I set up a user for example dummy:staff to be able to
    write files to /docroot? Thank you, I am trying to figure out what are
    the best practices.
    Thanks in advance for any assistance.
    Mark.

    Irek,
    This is off subject but I wanted to talk to you about a previous issue that you where having in [This Thread|http://forum.java.sun.com/thread.jspa?messageID=9751068#9751068] .
    ireneusz.tarnowski wrote in another thread:
    Hi,
    I've noticed many failures in my error log. I use SJSWS 6.1u7. Some example are below:
    [04/Jul/2007:11:29:11] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:32:40] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:32:40] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:32:41] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:34:53] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:34:53] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:35:45] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)
    [04/Jul/2007:11:37:21] failure ( 9310): HTTP3068: Error receiving request from 156.17.73.28 (Connection refused)The IP address which is noticed in error line is a router of some NAT in my corporation. I want to tune my webserver and receive all request from this address.
    Any idea?
    IrekDid you ever figure out how to fix this issue with the Sun Webserver 6.1 that you had back in July last year with the "Error receiving request from <ip address> (Connection refused)" messages? We are getting the same errors on our Sun ONE / Sun Java System webserver version 6.1 SP6. Please let me know.

  • How can I get permission to access my own files?

    I recently got a new Mac Pro, and I used a Time Machine backup to migrate my data.  Then I discovered that Time Machine doesn't actually back up everything; it leaves out all the "Build" folders in all of my Xcode projects for some reason.  I transferred all those folders manually, but I couldn't help but wonder what else Time Machine was omitting.  So I decided that before I permanently retire my old computer (a seven year old iMac), I'd make a full backup of all its data onto BD-Roms.  This it turning out to be quite difficult.
    First I tried using Target Disk Mode and running Disk Utility on a second computer to create a disk image.  But after about 15 hours, it wasn't even a third of the way done, so I cancelled that.  Then I tried connecting an external drive to my old computer and just dragging all the files onto it, which seemed to be working at first, but then after a couple hours, it said something like, "You don't have permission to access the Keychain App," and it stopped transferring.  So I tried again, but I omitted the Applications folder, since that's where the Keychain app is.  Then, after a couple more hours, it said something like, "You don't have permission to access some other file."
    Is there any way I can disable this permissions business?  I tried going to "get info" and giving everyone read and write privileges, but it didn't make any difference.  I wouldn't even mind just skipping the files with permission issues, but the problem is that whenever it gets to an "unpermitted" file, it just completely bails out of the whole transfer and then I have to start all over again.  Is there at least a way to make it just skip those files and go on with the transfer?

    Not in your case. System-level folders cannot be backed up by drag-copying; just drag your home folder to the external drive.
    (124214)

  • Can't access Time Machine files since upgrading to Mavericks

    I have searched the community and found that people have experienced issues backing up to Time Machine since upgrading to Mavericks, but my problem appears slightly different from the ones I've found.  I can see that my Time Machine is actually backing up since the upgrade as it was before the upgrade.  The issue I'm having is that I can't access the backed-up files in any way. 
    When I try to open time machine it launches the "space view" with all of the historical tabs lined up for me to scroll through, but imediately closes that window and gives the error message: "Can't connect to a current Time Machine backup disc".  It's so weird, because it says that there have been backups completed since the upgrade (most recently this morning).  If it wasn't writing to the disc, it would have showed me an error of some sort.
    What I am, specifically, trying to accomplish is that I need to restore some iTunes playlists that I somehow managed to delete this past weekend.  I figured that I would easily be able to access the library file that contains the playlists from Saturday morning, when I KNOW that playlist was still there, and just restore it.  Now that I am seeing that I can't access any of my time machine files, I'm realizing that I have an even bigger problem, and that all of my files are, essentially, going without backup at this time (assuming I can't access the files that have already been backing up).
    If anyone has some insight as to how I can fix this problem, I would greatly appreciate it.

    Hi John, (The above was for your attention) I'm 72 and must've hit the wrong button!!!
    I followed your instructions to the letter, but sadly, no success...all my backups are showing on the TM external HD, but I cannot access them after instsalling 'Mavericks'
    I spent the entire day on and off the phone with Applecare (they are very nice, and I'm sure they know most of the stuff needed; but not this problem. They are phoning back tomorrow as the senior chap was not available.
    I love my apple products, and like you, have been using their gear for well over 25 years...not studying the things, but using them all the way through.
    My present Mac,  a 24" iMac is nearly 7 years old, bought on December 11th 2007, and this is the first time I have had a significant problem, and never a virus..got bless em!. I bet there are not many Windows users around who can say the same!
    However, if I cannot access my backups, I'm a bit lost, as all my accumulated stuff is there!
    I guess the worst case scenario is that I revert to OS X 10.7.5, and wait 'til the bugs are ironed out in Mavericks....Ho Hum
    Message was edited by: briinoz

  • Access DB (& .ldb file) does not close after crystal reports

    Post Author: mgold
    CA Forum: Crystal Reports
    Access DB (& .ldb file) does not close after crystal reports
    Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close. It seems to hang on the &#91;.Close&#93; command.
    When we open the application an peruse the screens without opening up a report (using crystal reports), the application and access db closes fine. But as soon as we run a report and then close the report and try to close the application, the access db does not close. Many of the screens open the db and grab data from the access db, but it's only after running crystal reports that we have this problem. (Please see more information below.)
    Setup: Application and data (access 97 db) reside on a server in the same folder, but application shortcut is kicked off on client PC. Kicking off the shortcut on the client PC means that the image/process runs on the client PC (not on the server). In this problem case, the application shortcut is on a Windows XP Pro Version 2002 SP2 PC with the app & data on a Windows 2003 server. Users are local Admins on their PCs with "Full Control"over the directory and files on the server where the data (access 97 db) resides. This type of setup is typical and has worked without any problems for clients.
    The application is written in Visual Basic, using Crystal Reports 6 (using DAO). We close the recordset, set it to zero and then it hangs on closing the db (.Close command).
    A few key pieces of information:
    - The application closes fine if the app & data (access 97 db) are on a local PC. This includes closing fine if the application is run directly on the Windows 2003 server where the data is stored.
    - It worked on this client's network until sometime in the last few weeks.
    - One thing that changed is that the company is using VMWare on its servers. Not sure if they started using VMWare at the same time as it started failing. This may be unrelated. Possibly other things changed, but can't get any more information ... yet.
    - It works fine running the application from a Windows Vista PC with a user who is a domain admin.
    - The access db and application hang for about 10-20 minutes and then eventually closes. It appears that somehow
    Crystal Reports is keeping the db open, but I'm not sure why.The application doesn't quit and the database doesn't close even if I try to end the task with the Task Manager.
    - The Crystl32.ocx version being used is 8.0.0.4 (if that matters).
    - I copied 6 month old program files and database files to a test folder on the Windows 2003 server. It fails using these files that worked fine 6 months ago.
    Any ideas or help would be greatly appreciated! If you know of another good place to post this, please let me know.
    Thanks!
    - Mark

    Crystal doesn't support tables in HTML interpretation. 
    You can probably work your way around this by doing Replace() calls on the relevant tags.
    See:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033383334%7D.do
    The supported HTML tags are:
    " html
    " body
    " div (causes a paragraph break)
    " tr (causes only a paragraph break; does not
    preserve column structure of a table)
    " span
    " font
    " p (causes a paragraph break)
    " br (causes a paragraph break)
    " h1 (causes a paragraph break, makes the font bold
    & twice default size)
    " h2 (causes a paragraph break, makes the font bold
    & 1.5 times default size)
    " h3 (causes a paragraph break, makes the font bold
    & 9/8 default size)
    " h4 (causes a paragraph break, makes the font bold)
    " h5 (causes a paragraph break, makes the font bold
    & 5/6 default size)
    " h6 (causes a paragraph break, makes the font bold
    & 5/8 default size)
    " center
    " big (increases font size by 2 points)
    " small (decreases font size by 2 points if it's 8
    points or larger)
    " b
    " i
    " s
    " strike
    " u
    The supported HTML attributes are:
    " align
    " face
    " size
    " color
    " style
    " font-family
    " font-size
    " font-style
    " font-weight

  • HELP:: Flash unable to open BAT file or PPT file

    HELP Please....
    I am using Flash MX.. my projector exe file doesnt seem to
    open/call
    "myppt.bat" file which calls a powerpoint (PPS) file after
    the animation is
    over. The bat file runs well when
    self executed but not from flash...
    I also installed the trial version of Flash 8 and seem to be
    having the same
    above problem.
    please help by providing a working solution.

    Use FlashJester JStart
    http://jstart.flashjester.com
    p.s Beware, a double posting is not seen too good..
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

Maybe you are looking for

  • I had 2 games of clash of clans on 1 game centre.  Now I can only see one?  How can I find the other one?

    My kids had 2 games of clash of clans on 1 game centre.  Now I can only see one?  How can I find the other one? My daughter set up a game centre on her ipad.  My son, on his ipad used the same game centre log in.  He then set up his own game of clash

  • Why does my iPhone 6 not show up in my computer when it's plugged in with the USB cable?

    Hello I have an Iphone 6 for about one week now. I would like to view my photos and movies on my laptop (windows 7). But I can't view them because it doesn't show up as a portable device in my computer. When I plug it in I do hear the sound as if any

  • How do I replace one vector mask with another?

    I have a template for a web site that I'm trying to figure out as I learn CS5.  The template has a vector mask created out of some writing that was converted into an object/vector mask.  I would like to replace with a layer I created that has differe

  • Making a .app in C++

    I'm a fairly experienced C++ programmer, and have been using gcc in the terminal to compile programs in OSX. I'm trying to build a program to offer online as a download, but the problem is when you transfer the program to another program the permissi

  • Always connect to Airport Extreme

    I've got the following setup: - One Airport Extreme in my living room connected to the internet - One Airport Express next to it for Airtunes (set to join the Airport Extreme's network) - One Airport Express in my study (set to extend the Airport Ext