- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP too fast for transfer to Win server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 12:18 PM
02-27-2008 12:18 PM
We have just run into an interesting problem with FTP since migrating a file server form Linux to a Microsoft platform.
batch FTP from our application server no longer works because the filserver (appears to) takes too long to set permissions creating directories and setting permissions.
The ftp command file contains:
mkdir testrb
cd testrb
put sort_bkup_list
mkdir testrb2
cd testrb2
put sort_bkup_list
mkdir testrb3
cd testrb3
put sort_bkup_list
quit
the results are:
$ ftp persephone < ftptest
sort_bkup_list: Permission denied
testrb2: Permission denied
testrb2: No such file or directory
sort_bkup_list: Permission denied
testrb3: Permission denied
testrb3: No such file or directory
sort_bkup_list: Permission denied
Only the first directory is created but looks like permissions are not set for next commands.
subsequent execution will create the second directory and stop there and so on.
Has anyone ever encountered such a problem?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 01:37 PM
02-27-2008 01:37 PM
Re: FTP too fast for transfer to Win server
Make your programmers write to and from sftp services for data exchange rather than use a cruddy mount point that will only cause you issues. It's more work, but more robust.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 04:40 PM
02-27-2008 04:40 PM
SolutionSounds like a multithreading problem on the server, although I'm sure you would not be the only one with this problem if it was a bug in IIS. Have you checked this in the Microsoft KB?
HP-UX's stock FTP client doesn't have a pause or sleep function that could be used to slow down the batch commands. One thing you can try is escaping to the shell to make a pause with something such as "!/usr/bin/sleep 1" before each of your puts. If that still doesn't work, you can try using an alternate FTP client such as ncftp just to see if it helps.
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 09:37 AM
02-28-2008 09:37 AM
Re: FTP too fast for transfer to Win server
Others have suggested escaping to sleep for a bit. Again I think this is a bug in the FTP server that needs to be fixed, but another possible kludge could be to try adding an ls/dir command between the mkdir and the cd (or perhaps between the cd and the put). Perhaps that will act as a "flush" on the permissions issue.
You could also try reordering the commands to create the heirarchy before attempting the puts - from your output it seems the mkdir of the subdirs actually succeeds, so perhaps by the time you've created the third directory, the first one will allow the put.
The other fix would be to migrate back to the original OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 09:52 AM
02-28-2008 09:52 AM
Re: FTP too fast for transfer to Win server
the !/usr/bin/sleep solution works (I used 2 seconds).
We are writing to an nsf mounted file system on an intermediary server. Are there (mount or share) settings that could alleviate the problem?
As to writing directly to target, It is currently contrary to policy/firewall rules.
Thanks
RayB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 07:22 AM
03-04-2008 07:22 AM
Re: FTP too fast for transfer to Win server
Thanks for support.
RayB