Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
ftp put creates empty file
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- ftp put creates empty file
ftp put creates empty file
07-03-2014 10:49 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I frequently use a simple batch file incorporating a put command to upload a text file to my webspace. Until the new hosting arrangements it worked fine. Now all I get is an empty file in the webspace.
I know next to nothing about ftp command line, but have successfully logged on and tried entering a put command manually. I have ensured ascii mode, and tried PASV. Still the file uploaded is empty.
I can transfer the file successfully using CuteFTP, but it's a long-winded process compared to simply executing a batch file.
Can anyone suggest what's now going wrong, and how I can fix it?
I know next to nothing about ftp command line, but have successfully logged on and tried entering a put command manually. I have ensured ascii mode, and tried PASV. Still the file uploaded is empty.
I can transfer the file successfully using CuteFTP, but it's a long-winded process compared to simply executing a batch file.
Can anyone suggest what's now going wrong, and how I can fix it?
Message 1 of 2
(2,797 Views)
1 REPLY 1
Re: ftp put creates empty file
07-03-2014 12:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Our server cluster doesn't appear to play nicely with active FTP and seems to require passive mode. Windows ftp.exe does not support passive mode. I'm almost certain this will be the cause of your problem. You'll see what I mean if you try FTP'ing from a command line and issuing a list (ls) command. It will stall and eventually time out.
Hostopia have a case open with their hardware vendors I believe because this behaviour isn't exhibited by their server estate in the US.
Hostopia have a case open with their hardware vendors I believe because this behaviour isn't exhibited by their server estate in the US.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 2 of 2
(1,909 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- ftp put creates empty file