Hi,
I have few files at FTP location and have written a script to download the same from ftp based on the sysdate - 1, however with the below code I am unable to download the files from FTP.
x=`TZ=CST+24 date +%Y%m%d`
mget Daily_BIH_$x_NEW.tar.gz
can anyone please help me in... (10 Replies)
I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.
bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Hi,
I am having some issues setting up and using swa report and swa get. When I use
"swa report -a SEC -a CRIT -x hp_id username -x hp_pw pword -x proxy=http://proxservername:8080"
the report is generated, etc as expected.
However when I execute
"swa get -t /var/spool/sw/ -x... (1 Reply)
Dear all,
I am beginner to shell scripting.
I have to download more than 1k files from ftp site.
link is below
ftp://ftp.ncbi.nih.gov/genomes/Bacteria/
Earlier i was using wget url, for download but the problem is some times folder names get changed, i don't know how to move in directories... (4 Replies)
Hello,
I am trying to configure an AIX machina to authenticate against a Windows 2003 AD, and I am desesperately trying to find the ldap.client lpp
in the internet.
I am using AIX 5.3 and I don't have access to the DVD media,
please help!
Thankyou,
Tiago (2 Replies)
FROM WINDOWS , WHILE GETTING DATA FROM HP-UNIX SERVER USING FTP, I AM ABLE TO GET DATA ONLY LESS THAN 4GB FILE, PLZ HELP ME HOW TO GET MORE MORE THAN 4GB FILE. (4 Replies)
I receive files by FTP in an input directory. Every 10 seconds a process checks if some new file has arrived to the input directory and then the process moves them to another directory to be read by a second process.
The problem is that there is no way to know if the download has finished... (11 Replies)
Handle Management(3) globus ftp client Handle Management(3)NAME
Handle Management -
Typedefs
typedef struct
globus_i_ftp_client_handle_t * globus_ftp_client_handle_t"
Initialize
globus_result_t globus_ftp_client_handle_init (globus_ftp_client_handle_t *handle, globus_ftp_client_handleattr_t *attr)
Destroy
globus_result_t globus_ftp_client_handle_destroy (globus_ftp_client_handle_t *handle)
URL Caching
globus_result_t globus_ftp_client_handle_cache_url_state (globus_ftp_client_handle_t *handle, const char *url)
globus_result_t globus_ftp_client_handle_flush_url_state (globus_ftp_client_handle_t *handle, const char *url)
User Pointer
globus_result_t globus_ftp_client_handle_set_user_pointer (globus_ftp_client_handle_t *handle, void *user_pointer)
globus_result_t globus_ftp_client_handle_get_user_pointer (const globus_ftp_client_handle_t *handle, void **user_pointer)
Plugins
globus_result_t globus_ftp_client_handle_add_plugin (globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
globus_result_t globus_ftp_client_handle_remove_plugin (globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Detailed Description
Create/Destroy/Modify an FTP Client Handle.
Within the Globus FTP Client Library, all FTP operations require a handle parameter. Currently, only one FTP operation may be in progress
at once per FTP handle. FTP connections may be cached between FTP operations, for improved performance.
This section defines operations to create and destroy FTP Client handles, as well as to modify handles' connection caches.
Typedef Documentation
typedef struct globus_i_ftp_client_handle_t* globus_ftp_client_handle_t
FTP Client Handle. An FTP client handle is used to associate state with a group of operations. Handles can have attributes associated with
them. All FTP operations take a handle pointer as a parameter.
See also:
globus_ftp_client_handle_init(), globus_ftp_client_handle_destroy(), globus_ftp_client_handleattr_t
Function Documentation
globus_result_t globus_ftp_client_handle_init (globus_ftp_client_handle_t *handle, globus_ftp_client_handleattr_t *attr)
Initialize a client FTP handle. Initialize an FTP handle which can be used in subsequent get, put, or transfer requests. A handle may have
at most one get, put, or third-party transfer in progress.
Parameters:
handle The handle to be initialized.
attr Initial attributes to be used to create this handle.
See also:
globus_ftp_client_handle_destroy()
globus_result_t globus_ftp_client_handle_destroy (globus_ftp_client_handle_t *handle)
Destroy a client FTP handle. A FTP client handle may not be destroyed if a get, put, or third-party transfer is in progress.
Parameters:
handle The handle to be destroyed.
See also:
globus_ftp_client_handle_init()
globus_result_t globus_ftp_client_handle_cache_url_state (globus_ftp_client_handle_t *handle, const char *url)
Cache connections to an FTP server. Explicitly cache connections to URL server in an FTP handle. When an URL is cached, the client library
will not close the connection to the URL server after a file transfer completes.
Parameters:
handle Handle which will contain a cached connection to the URL server.
url The URL of the FTP or GSIFTP server to cache.
See also:
globus_ftp_client_flush_url_state()
globus_result_t globus_ftp_client_handle_flush_url_state (globus_ftp_client_handle_t *handle, const char *url)
Remove a cached connection from the FTP client handle. Explicitly remove a cached connection to an FTP server from the FTP handle. If an
idle connection to an FTP server exists, it will be closed.
Parameters:
handle Handle which will contain a cached connection to the URL server.
url The URL of the FTP or GSIFTP server to cache.
globus_result_t globus_ftp_client_handle_set_user_pointer (globus_ftp_client_handle_t *handle, void *user_pointer)
Set/Get the user pointer field from an ftp client handle. The user pointer is provided to all the user of the FTP client library to
assocate a pointer to any application-specific data to an FTP client handle. This pointer is never internally used by the client library.
Parameters:
handle The FTP client handle to set or query.
user_pointer The value of the user pointer field.
Note:
Access to the user_pointer are not synchronized, the user must take care to make sure that multiple threads are not modifying it's
value.
globus_result_t globus_ftp_client_handle_add_plugin (globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Add a plugin to an FTP client handle. This function adds a plugin to an FTP client handle after it has been created. Plugins may be added
to an ftp client handle whenever an operation is not in progress. The plugin will be appended to the list of plugins present in the handle,
and will be invoked during any subsequent operations processed with this handle.
Only one instance of a particular plugin may be added to a particular handle.
Plugins may be removed from a handle by calling globus_ftp_client_remove_plugin().
Parameters:
handle The FTP client handle to set or query.
plugin A pointer to the plugin structure to add to this handle.
See also:
globus_ftp_client_remove_plugin(), globus_ftp_clent_handleattr_add_plugin(), globus_ftp_clent_handleattr_remove_plugin()
globus_result_t globus_ftp_client_handle_remove_plugin (globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Remove a plugin to an FTP client handle. This function removes a plugin from an FTP client handle after it has been created. Plugins may be
removed from an ftp client handle whenever an operation is not in progress. The plugin will be removed from the list of plugins, and will
not be used during any subsequent operations processed with this handle.
This function can remove plugins which were added at handle initialization time or by calling globus_ftp_client_handle_add_plugin().
Parameters:
handle The FTP client handle to set or query.
plugin A pointer to the plugin structure to remove from this handle.
See also:
globus_ftp_client_add_plugin(), globus_ftp_clent_handleattr_add_plugin(), globus_ftp_clent_handleattr_remove_plugin()
globus_result_t globus_ftp_client_handle_get_user_pointer (const globus_ftp_client_handle_t *handle, void **user_pointer)
Set/Get the user pointer field from an ftp client handle. The user pointer is provided to all the user of the FTP client library to
assocate a pointer to any application-specific data to an FTP client handle. This pointer is never internally used by the client library.
Parameters:
handle The FTP client handle to set or query.
user_pointer The value of the user pointer field.
Note:
Access to the user_pointer are not synchronized, the user must take care to make sure that multiple threads are not modifying it's
value.
Author
Generated automatically by Doxygen for globus ftp client from the source code.
Version 7.3 Mon Apr 30 2012 Handle Management(3)